package com.tom.demo.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.tom.demo.common.entity.StockMarket;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【stock_market(股市表)】的数据库操作Mapper
* @createDate 2025-02-08 10:13:09
* @Entity generator.domain.StockMarket
*/
@Mapper
@DS("master")
public interface StockMarketMapper {

    int deleteByPrimaryKey(String id);

    int insert(StockMarket record);

    int insertBatch(List<StockMarket> stockMarketList);


    StockMarket selectByPrimaryKey(String id);


    int updateByPrimaryKey(StockMarket record);

    List<StockMarket> batchReading(@Param("limit") int limit,@Param("offset") long offset);

    List<StockMarket> findByPage();
}
